from utils import log,send_email
import pytest,requests,os

if __name__ == '__main__':
    log()
    pytest.main(['-s',r'C:\Users\Administrator\PycharmProjects\gqzy1\TestCase\Address.py','--alluredir=log'])
    os.system('allure generate log -o html --clean')
    send_email([r'C:\Users\Administrator\PycharmProjects\gqzy1\log.txt',r'C:\Users\Administrator\PycharmProjects\gqzy1\html\index.html'])
